<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>登录--${_title!''}</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/static/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/static/style/admin.css" media="all">
    <link rel="stylesheet" href="/static/style/login.css" media="all">
</head>
<body>

<div class="user-login user-display-show" id="userLogin">

    <div class="user-login-main">
        <div class="user-login-box user-login-header">
            <h2>${_title!''}</h2>
        </div>
        <div class="user-login-box user-login-body layui-form">
            <div class="layui-form-item">
                <label class="user-login-icon layui-icon layui-icon-username"
                       for="loginName"></label>
                <input type="text" name="loginName" id="loginName" lay-verify="required" placeholder="用户名" lay-verType="tips"
                       class="layui-input" autocomplete="off">
            </div>
            <div class="layui-form-item">
                <label class="user-login-icon layui-icon layui-icon-password" for="password"></label>
                <input type="password" name="password" id="password" lay-verify="required" lay-verType="tips"
                       placeholder="密码" class="layui-input" autocomplete="off">
            </div>
            <div class="layui-form-item">
                <div class="layui-row">
                    <div class="layui-col-xs7">
                        <label class="user-login-icon layui-icon layui-icon-vercode" for="vercode"></label>
                        <input type="text" name="vercode" id="vercode" lay-verify="required" lay-verType="tips"
                               placeholder="图形验证码" class="layui-input">
                    </div>
                    <div class="layui-col-xs5">
                        <div style="margin-left: 10px;">
                            <img src="/captcha" id="userGetVercode" class="user-login-codeimg">
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-form-item" style="margin-bottom: 20px;">
                <#--<input type="checkbox" name="remember" lay-skin="primary" title="记住密码">-->
                <a href="${context.contextPath!''}/forget" class="user-jump-change link" style="margin-top: 7px;">忘记密码？</a>
            </div>
            <div class="layui-form-item">
                <button class="layui-btn layui-btn-fluid" id="userLoginBtn" lay-submit lay-filter="login">登 入</button>
            </div>
        </div>
    </div>
</div>

<script src="/static/layui/layui.js"></script>
<script>
    if (top.location != location){
        top.location.href = location.href;
    }
    layui.config ({
        base: '/static/' //静态资源所在路径
    }).extend ({
        index: 'lib/index' //主入口模块
    }).use (['index', 'user']);
</script>
</body>
</html>